<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
</head>
<body style="position: absolute;top: 10%;width: 80%;left: 10%">
<div style="float: right">
    &nbsp;<a th:href="@{/toUserInfo}" th:text="${session.loginInfo.email}"></a>
    <span>&nbsp;|&nbsp;</span>
    <a href="logout">注销</a>
</div>
<HR align=center width=100% color=" #66afe9"  SIZE=1>
<form th:action="@{/addUser}" method="post" >

    <span>姓名:&nbsp;</span><input type="text" name="name"/><br/>
    <span>年龄:&nbsp;</span><input type="text" name="age" /><br/>
    <span>密码:&nbsp;</span><input type="text" name="password" /><br/>
    <span>性别:&nbsp;</span><input type="text" name="sex"/><br/>
    <span>邮箱:&nbsp;</span><input type="text" name="email"/><br/>
    <input type="submit" value="添加" />

</form>
</body>
</html>